/*
 * stm32_uart_config.h
 *
 *  Created on: Aug 8, 2023
 *      Author: chain
 */

#ifndef LIB_STM32_UART_LIB_STM32_UART_CONFIG_H_
#define LIB_STM32_UART_LIB_STM32_UART_CONFIG_H_



#define UART1_DMA_RX_BUF_LEN        64
#define UART1_DMA_TX_BUF_LEN        64

#define UART2_DMA_RX_BUF_LEN        64
#define UART2_DMA_TX_BUF_LEN        64

#define UART3_DMA_RX_BUF_LEN        64
#define UART3_DMA_TX_BUF_LEN        64

#define UART4_DMA_RX_BUF_LEN        64
#define UART4_DMA_TX_BUF_LEN        64

#define LPUART1_DMA_RX_BUF_LEN      512
#define LPUART1_DMA_TX_BUF_LEN      512


#define UART1_EN                1
#define UART2_EN                1
#define UART3_EN                1
#define UART4_EN                0
#define LPUART1_EN              0


#define FREERTOS_USE            1




#define     UART1_PORT              1
#define     UART2_PORT              2
#define     UART3_PORT              3
#define     UART4_PORT              4

#define     LPUART1_PORT            6





#endif /* LIB_STM32_UART_LIB_STM32_UART_CONFIG_H_ */
